<template>
  <div id="http">
    <button @click="sendPost">post</button>
    <button @click="sendGet">get</button>
  </div>
</template>
<script>
import { Post, Get } from "../assets/js/reuqest";
export default {
  name: "http",
  methods: {
    sendPost() {
      Post("/http/post/post", {});
    },
    sendGet() {
      Get("/http/get/get", { time: 1 });
    }
  }
};
</script>
<style scoped lang='less'>
</style>